Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBoxCellType Class / ListBoxCellType Constructor / ListBoxCellType Constructor(String[],String[])
Items for the list specified in a string array
Values for the list items specified in a string array
Example


In This Topic
    ListBoxCellType Constructor(String[],String[])
    In This Topic
    Creates a new list box cell with the specified list items and corresponding values.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal items() As String, _
       ByVal values() As String _
    )
    'Usage
     
    
    Dim items() As String
    Dim values() As String
     
    Dim instance As New ListBoxCellType(items, values)
    public ListBoxCellType( 
       string[] items,
       string[] values
    )

    Parameters

    items
    Items for the list specified in a string array
    values
    Values for the list items specified in a string array
    Example
    This example creates a list box cell type, sets up an array of items for the list, sets the background and foreground color for the selected item and assigns the object to the first cell in the sheet.
    See Also